import turtle as t
import random

t.ht()
t.speed(0)

for i in range(3):
    r = random.randint(0, 255)
    g = random.randint(0, 255)
    b = random.randint(0, 255)
    color = f"#{r:02x}{g:02x}{b:02x}"
    t.color(color)
    t.circle(100)
    t.right(120)

summary = 0

for i in range(1, 101):
    r = random.randint(0, 255)
    g = random.randint(0, 255)
    b = random.randint(0, 255)
    color = f"#{r:02x}{g:02x}{b:02x}"
    t.color(color)
    t.circle(10 + i)
    print("i = ", i)
    summary = summary + i
    t.goto(0, 0 - i)

print("summary = ", summary)
t.left(90)
t.penup()
t.forward(200)
t.pendown()
t.done()
